<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8"></meta>
  <meta http-equiv="X-UA-Compatible" content="IE=edge"></meta>
  <title>规划工程管理</title>
  <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport"></meta>
  <script type="text/javascript" src="../js/pub-lib/jquery.min.js"></script>
  <script type="text/javascript" src="../js/pub-lib/bootstrap.min.js"></script>
  <!--easyui-树形菜单-->
  <script type="text/javascript" src="../js/pub-lib/jquery/jquery.easyui.min.js"></script>
  <!--时间-->
  <script th:src="@{/js/pub-lib/bootstrap-datepicker.min.js}"></script>
  <script th:src="@{/js/pub-lib/bootstrap-datepicker.zh-CN.js}"></script>
  <!--复选框-->
  <script type="text/javascript" src="../js/pub-lib/icheck.min.js"></script>
  <!--下拉框-->
  <script type="text/javascript" src="../js/pub-lib/select2.full.min.js"></script>
  <!--[if lt IE 9]>
  <script type="text/javascript" src="../js/pub-lib/html5shiv.min.js"></script>
  <script type="text/javascript" src="../js/pub-lib/respond.min.js"></script>
  <![endif]-->
  <!--弹出框-->
  <script type="text/javascript" src="../js/pub-lib/plugins/toastr/toastr.min.js"></script>
  <script type="text/javascript" src="../js/pub-lib/plugins/jqueryConfirm/jquery-confirm.min.js"></script>
  <!--表单验证-->
  <script type="text/javascript" src="../js/pub-lib/plugins/bootstrap-validator/bootstrapValidator.min.js"></script>
  <!--表格-->
  <script type="text/javascript" src="../js/pub-lib/plugins/easyui/datagrid-detailview.js"></script>
  <script type="text/javascript" src="../js/pub-lib/common.js"></script>
  <script type="text/javascript" src="../js/our-lib/commpent/constantcommpent.js"></script>
  <!-- 选择 -->
  <script type="text/javascript" src="../js/our-lib/commpent/unitsearchcommpent.js"></script>
  <script type="text/javascript" src="../js/our-lib/commpent/itemsearchcommpent.js"></script>
  <script type="text/javascript" src="../js/our-lib/commpent/projectsearchcommpent.js"></script>
  <script type="text/javascript" src="../js/our-lib/commpent/usersearchcommpent.js"></script>
  <!-- 下拉 -->
  <script type="text/javascript" src="../js/our-lib/commpent/unitcommpent.js"></script>
  <script type="text/javascript" src="../js/our-lib/commpent/unitselcommpent.js"></script>
  <script type="text/javascript" src="../js/our-lib/commpent/unittypetoselcommpent.js"></script>
  <script type="text/javascript" src="../js/our-lib/commpent/plan2unit2projectcommpent.js"></script>
  <script type="text/javascript" src="../js/our-lib/projectInfoManage/planeProjectManage.js"></script>
</head>
<body class="hold-transition skin-blue sidebar-mini" style="background:#f5f6f8;">
<!--标题-->
<section class="content-header">
  <h1>
    管理系统
    <small>规划工程管理</small>
  </h1>
  <ol class="breadcrumb">
    <li><a href="javascript:;"><i class="fa fa-home"></i>首页</a></li>
    <li><a href="javascript:;">项目信息管理</a></li>
    <li class="active">规划工程管理</li>
  </ol>
</section>

<!--内容-->
<section class="content">
  <div class="box box-default">
    <div class="box-header with-border">
      <div class="row">
        <div class="col-md-12">

          <div class="form-inline">
            <div class="form-group">
              <label>所属规划：</label>
              <select id="planTypeSelect" class="form-control select2">
              </select>
            </div>
            <div class="form-group">
              <label>建设单位：</label>
              <select id="developOrgSelect" class="form-control select2">
              </select>
            </div>
            <div class="form-group" style="display:none;">
              <label>工程名称：</label>
              <input id="projectNameInput" type="text" class="form-control" placeholder="请输入工程名称"/>
            </div>
            <button id="queryPlanListBtn" class="btn btn-border" style="display: none;"><i class="fa fa-search"></i> 查询</button>
            <button id="addProjectPlanBtn" class="btn btn-border" data-toggle="modal"><i class="fa fa-plus"></i> 新增</button>
            <button id="vResetCond" type="button" class="btn btn-border" style="display: none;"><i class="fa fa-refresh"></i> 重置</button>
            <button id="removeProjectPlanBtn" class="btn btn-info" data-toggle="modal"><i class="fa fa-trash"></i> 批量删除</button>
            <button id="exportProjectPlanBtn" class="btn btn-info" data-toggle="modal"><i class="fa fa-share-square-o"></i> 导出</button>
            <button id="printProjectPlanBtn" class="btn btn-info" data-toggle="modal"><i class="fa fa-print"></i> 打印</button>
            <input type="hidden" class="form-control hidden" id="printdata" name="printdata"/>
          </div>

        </div>
      </div>
    </div>
    <div class="box-body">
      <div class="col-sm-12 myTable noLeftPadding noRightPadding">
        <table id="planTable" class="table table-bordered table-striped"></table>
      </div>
    </div>
  </div>
</section>
<div class="control-sidebar-bg"></div>

<!--工程描述-->
<div class="modal fade" id="projectContentModal" >
  <div class="modal-dialog" role="document">
    <div class="modal-content">
      <div class="modal-header">
        <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
        <h4 id="vProjectName" class="descriptionName"></h4>
      </div>
      <div class="modal-body">
        <p id="vProjectContent" class="description">
        </p>
      </div>
    </div>
  </div>
</div>

<!--增加修改-->
<div class="modal fade  bs-example-modal-lg" id="addEditModal" >
  <div class="modal-dialog modal-lg" role="document">
    <div class="modal-content">
      <div class="modal-header">
        <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
        <h4 class="modal-title">工程增加/编辑</h4>
      </div>
      <div class="modal-body">
        <div class="row noMargin">
          <form role="form" id="addEditProjectForm">
            <input id="addEditProjectId" type="hidden"/>
            <div class="col-sm-4">
              <div class="form-group">
                <label>工程名称：</label>
                <input id="addEditProjectName" name="addEditProjectName" type="text" class="form-control"/>
              </div>
            </div>
            <div class="col-sm-4">
              <div class="form-group">
                <label>所属规划：</label><br/>
                <select id="planTypeSelect2" name="planTypeSelect2" class="form-control select2">
                </select>
              </div>
            </div>
            <div class="col-sm-4">
            	<div class="form-group">
	              <label>建设单位：</label>
	              <select id="developOrgInput2" class="form-control select2" name="developOrgInput2">
	              </select>
	            </div>
              <!-- <div class="form-group">
                <label>建设单位：</label>
                <div class="input-group">
                  <input id="developOrgInput2" name="developOrgInput2" type="text" class="form-control" disabled="disabled"/>
                  <span class="input-group-btn">
                            <button id="queryDevelopOrgBtn2" class="btn btn-default" type="button" data-toggle="modal">
                              <i class="fa fa-search"></i>
                            </button>
                          </span>
                </div>
              </div> -->
            </div>
            <div class="col-sm-4">
              <div class="form-group">
                <label>状态：</label><br/>
                <select id="planStateSelect" name="planStateSelect" class="form-control select2">
                </select>
              </div>
            </div>
            <div class="col-sm-4">
              <div class="form-group">
                <label>开工年：</label>
                <div class="input-group date">
                  <div class="input-group-addon">
                    <i class="fa fa-calendar"></i>
                  </div>
                  <input type="text" class="form-control pull-right" id="startDatepicker" name="startDatepicker" readonly="readonly"/>
                </div>
              </div>
            </div>
            <div class="col-sm-4">
              <div class="form-group">
                <label>完工年：</label>
                <div class="input-group date">
                  <div class="input-group-addon">
                    <i class="fa fa-calendar"></i>
                  </div>
                  <input type="text" class="form-control pull-right" id="endDatepicker" name="endDatepicker" readonly="readonly"/>
                </div>
              </div>
            </div>
            <div class="col-sm-4">
              <div class="form-group">
                <label>工程联系人：</label>
                <div class="input-group">
                  <input id="projectUserInput" name="projectUserInput" type="text" class="form-control" disabled="disabled"/>
                  <span class="input-group-btn">
                            <button id="queryProjectUserBtn" class="btn btn-default" type="button" data-toggle="modal">
                              <i class="fa fa-search"></i>
                            </button>
                          </span>
                </div>
              </div>
            </div>
            <div class="col-sm-4">
              <div class="form-group">
                <label>联系人电话：</label>
                <input id="projectUserNumberInput" name="projectUserNumberInput" type="text" class="form-control" disabled="disabled"/>
              </div>
            </div>
            <div class="col-sm-4">
              <div class="form-group">
                <label>工程负责人：</label>
                <div class="input-group">
                  <input id="projectUserInput2" name="projectUserInput2" type="text" class="form-control" disabled="disabled"/>
                  <span class="input-group-btn">
                              <button id="queryProjectUserBtn2" class="btn btn-default" type="button" data-toggle="modal">
                                <i class="fa fa-search"></i>
                              </button>
                            </span>
                </div>
              </div>
            </div>

            <div class="money_comptemt">
              <div class="col-sm-4">
                <div class="form-group">
                  <label>部补助<span>（资金构成部分/单位：万元）</span></label>
                  <input id="addEditProjectBbz" name="addEditProjectBbz" type="text" class="money-control form-control"/>
                </div>
              </div>
              <div class="col-sm-4">
                <div class="form-group">
                  <label>省财政<span>（资金构成部分/单位：万元）</span></label>
                  <input id="addEditProjectScz" name="addEditProjectScz" type="text" class="money-control form-control"/>
                </div>
              </div>
              <div class="col-sm-4">
                <div class="form-group">
                  <label>政府融资<span>（资金构成部分/单位：万元）</span></label>
                  <input id="addEditProjectGsslrz" name="addEditProjectGsslrz" type="text" class="money-control form-control"/>
                </div>
              </div>
              <div class="col-sm-4">
                <div class="form-group">
                  <label>企业自筹<span>（资金构成部分/单位：万元）</span></label>
                  <input id="addEditProjectQyzc" name="addEditProjectQyzc" type="text" class="money-control form-control"/>
                </div>
              </div>
              <div class="col-sm-4">
                <div class="form-group">
                  <label>市州配套<span>（资金构成部分/单位：万元）</span></label>
                  <input id="addEditProjectSzpt" name="addEditProjectSzpt" type="text" class="money-control form-control"/>
                </div>
              </div>
            </div>

            <div class="col-sm-12">
              <div class="form-group">
                <label>规划工程简介：</label>
                <textarea id="addEditProjectJj" name="addEditProjectJj" class="form-control" rows="3" placeholder="请输入规划工程简介"></textarea>
              </div>
            </div>
          </form>
        </div>
      </div>
      <div class="modal-footer">
        <button type="button" class="btn btn-default" data-dismiss="modal">关闭</button>
        <button id="addEditProjectBtn" type="button" class="btn btn-primary">保存</button>
      </div>
    </div>
  </div>
</div>

</body>
</html>
